package cn.js.ccit.flowersmall.user.service.impl;

import cn.js.ccit.flowersmall.user.entity.UserEntity;
import cn.js.ccit.flowersmall.user.mapper.UserMapper;
import cn.js.ccit.flowersmall.user.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
@Service
public class UserServiceImpl implements UserService {
    @Resource
    UserMapper userMapper;

    @Override
    public UserEntity findUserByName(String username) {
        return userMapper.findByUsername(username);
    }
}
